package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压力告警信息对象 dispatchPressureAlarmInformation
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchPressureAlarmInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 压力告警信息编号 */
    @Excel(name = "压力告警信息编号")
    private Long pressureAlarmInformationId;

    /** 关联的监测点 ID */
    @Excel(name = "关联的监测点 ID")
    private Long monitoringPointId;

    /** 告警发生的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "告警发生的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private String alarmType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 触发告警的压力值 */
    @Excel(name = "触发告警的压力值")
    private BigDecimal alarmValue;

    public void setPressureAlarmInformationId(Long pressureAlarmInformationId) 
    {
        this.pressureAlarmInformationId = pressureAlarmInformationId;
    }

    public Long getPressureAlarmInformationId() 
    {
        return pressureAlarmInformationId;
    }
    public void setMonitoringPointId(Long monitoringPointId) 
    {
        this.monitoringPointId = monitoringPointId;
    }

    public Long getMonitoringPointId() 
    {
        return monitoringPointId;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setAlarmValue(BigDecimal alarmValue) 
    {
        this.alarmValue = alarmValue;
    }

    public BigDecimal getAlarmValue() 
    {
        return alarmValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pressureAlarmInformationId", getPressureAlarmInformationId())
            .append("monitoringPointId", getMonitoringPointId())
            .append("alarmTime", getAlarmTime())
            .append("alarmType", getAlarmType())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("alarmValue", getAlarmValue())
            .toString();
    }
}
